import http from '../utils/http.js'

export const getActivityPage = (params) => {
	return http.post('/activity/getActivityPage', params)
}

export const activityReserve = (id) => {
	return http.get(`/activity/activityReserve/${id}`)
}

export const getMyReserve = () => {
	return http.get('/activity/myReserve')
}

export const getReserveProductList = (activityId) => {
	return http.get(`/activity/getReserveProductList/${activityId}`)
}

export const getReserveProductPage = (params) => {
	return http.post(`/activity/getReserveProductPage`, params)
}
